import request from '@/utils/request'

// 查询大气温湿度压强列表
export function listAir(query) {
  return request({
    url: '/system/air/list',
    method: 'get',
    params: query
  })
}

// 查询大气温湿度压强详细
export function getAir(airId) {
  return request({
    url: '/system/air/' + airId,
    method: 'get'
  })
}

// 新增大气温湿度压强
export function addAir(data) {
  return request({
    url: '/system/air',
    method: 'post',
    data: data
  })
}

// 修改大气温湿度压强
export function updateAir(data) {
  return request({
    url: '/system/air',
    method: 'put',
    data: data
  })
}

// 删除大气温湿度压强
export function delAir(airId) {
  return request({
    url: '/system/air/' + airId,
    method: 'delete'
  })
}
